package base.design.test4AbstactFactory;

import base.design.test4AbstactFactory.domain.Coffee;
import base.design.test4AbstactFactory.domain.Pizza;
import base.design.test4AbstactFactory.domain.ShanghaiCoffee;
import base.design.test4AbstactFactory.domain.ShanghaiPizza;

public class ShanghaiFactory implements MixFactory{
    @Override
    public Coffee getCoffee() {
        return new ShanghaiCoffee();
    }

    @Override
    public Pizza getPizza() {
        return new ShanghaiPizza();
    }
}
